Playlist

interface Playlist

Represents a collection of media items or content sources intended for sequential or scheduled playback within the RevelDigital player.

A playlist defines an ordered sequence of Source objects, each representing a piece of content (e.g., image, video, web page, gadget). Playlists also possess metadata such as a name, type, and description.

This interface provides methods to access these properties and the underlying content sources. Implementations of Playlist are fundamental to how content is organized and presented by the player.

See also

com.reveldigital.player.playback.PlaybackManager

// Example: If PlaybackManager consumes Playlists

Functions

Link copied to clipboard
Gets a textual description of this playlist.
Link copied to clipboard
abstract fun getName(): String
Gets the user-defined name of this playlist.
Link copied to clipboard
abstract fun getSources(): Iterator<out Source>
Gets an iterator over the content sources contained within this playlist.
Link copied to clipboard
abstract fun getType(): PlaylistType
Gets the type or category of this playlist.
Link copied to clipboard
abstract fun size(): Int
Gets the total number of individual content sources in this playlist.